package com.gdit.zax.entitys;

import java.sql.Timestamp;

public class Version {
	private int id;
	private String system;
	private String version;
	private int versioncode;
	private String downpath;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSystem() {
		return system;
	}
	public void setSystem(String system) {
		this.system = system;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public int getVersioncode() {
		return versioncode;
	}
	public void setVersioncode(int versioncode) {
		this.versioncode = versioncode;
	}
	public String getDownpath() {
		return downpath;
	}
	public void setDownpath(String downpath) {
		this.downpath = downpath;
	}
	
	private Timestamp addtime;
	public String getAddtime() {
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
}
